<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>租户管理</title>
    <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <link rel="stylesheet" href="/static/component/markdown/editor/editormd.min.css" />
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
    <script src="/static/component/pear/module/ruinuo/sortable.js"></script>
    <script src="/static/component/pear/module/ruinuo/xm-select.js"></script>
</head>
<body>

<div class="view_body"></div>
<script type="text/html" id="view_body_data">
    <form class="layui-form" action="">
        <div class="mainBox ruinuo_box {{= form_config.form_label}}">
            <div class="main-container layui-row layui-col-space10 label_con">
                <div class="design-box layui-col-xs12 layui-col-md12 name_box {{#  if(layui.engine_form.PowerField('name')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">租户名称</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="name" id="focus_4d0a_1721299464646_65691" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.name}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 expire_time_box {{#  if(layui.engine_form.PowerField('expire_time')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">过期时间</label>
<div class="layui-input-block  layui-input-wrap" data_tag="datetime" data_source="">
<div class="layui-input-prefix"><i class="ruinuo-icon icon-riqi"></i></div>
<input  name="expire_time" id="focus_41bd_1721299959771_81445" type="text" readonly lay-tag="datetime" autocomplete="off"  value="{{= d.detail.expire_time}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 account_count_box {{#  if(layui.engine_form.PowerField('account_count')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">账号数量</label>
<div class="layui-input-block " data_tag="number" data_source="">
<input  name="account_count" id="focus_65e9_1721299965632_66931" type="number" lay-affix="number" lay-tag="number" autocomplete="off"  value="{{= d.detail.account_count}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 status_box {{#  if(layui.engine_form.PowerField('status')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">租户状态</label>
<div class="layui-input-block " data_tag="radio" data_source="yesno">
{{#  layui.each(d.source.yesno.rows, function(index, item){ }}
<input type="radio"  name="status" id="focus_8510_1721300000630_65592" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.status){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 product_ids_box {{#  if(layui.engine_form.PowerField('product_ids')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">租户产品包</label>
<div class="layui-input-block " data_tag="select" data_source="zuhu_product">
<div  name="product_ids" id="focus_4c1b_1721301020753_22952" type="text" lay-tag="select"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 contact_name_box {{#  if(layui.engine_form.PowerField('contact_name')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">联系人</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="contact_name" id="focus_3926_1721300034771_88268" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.contact_name}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 contact_mobile_box {{#  if(layui.engine_form.PowerField('contact_mobile')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">联系手机</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="contact_mobile" id="focus_5cc6_1721300036073_69786" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.contact_mobile}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 website_box {{#  if(layui.engine_form.PowerField('website')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">绑定域名</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="website" id="focus_6477_1721300027976_44058" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.website}}" class="layui-input">
</div>
</div>

            </div>
        </div>
        <div class="bottom">
            <div class="ruinuo-button-con">
                <button type="button" class="pear-btn pear-btn-primary" onclick="SendForm()">
                    <i class="layui-icon layui-icon-ok"></i>提交
                </button>
                <button type="reset" class="pear-btn">
                    <i class="layui-icon layui-icon-refresh"></i>重置
                </button>
            </div>
        </div>
    </form>
</script>
<script>

    function FormBind()
    {
        layui.engine_form.BindDateTime('41bd_1721299959771_81445','datetime','2','expire_time','');
layui.engine_form.BindSelect('4c1b_1721301020753_22952','select','product_ids','zuhu_product',1,);

    }
</script>
<script src="/static/js/admin/tenant/config.js?t={:time()}"></script>
<script src="/static/component/markdown/editor/editormd.min.js"></script>
<script src="/static/component/markdown/editor/marked.min.js"></script>
<script src="/static/js/admin/tenant/form.js?t={:time()}"></script>
<script src="/static/component/pear/module/jQuery.print.js"></script>
</body>
</html>